package foodmaterial.dto;

import foodmaterial.action.valid.PaginationNoValid;
import foodmaterial.action.valid.PaginationSizeValid;

/**
 * 食材分类
 */
public class FoodMaterialTypeDto {
    private Long id;
    private String name; // '名称'
    private Boolean isCondiment ;
    @PaginationNoValid
    private Integer pageNo;
    @PaginationSizeValid
    private Integer pageSize ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getIsCondiment() {
        return isCondiment;
    }

    public void setIsCondiment(Boolean condiment) {
        this.isCondiment = condiment;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
